package com.crm.service.basDict;

import com.crm.pojo.BasDict;
import com.crm.repository.BasDictRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BasDictServiceImpl implements BasDictService {
    @Resource
    private BasDictRepository basDictRepository;

    @Override
    public List<BasDict> findBasDictListByDictType() throws Exception {
        return basDictRepository.findBasDictsByDictType();
    }
}